import { App } from 'vue';
import {
  ElRow,
  ElCol,
  ElButton,
  ElMenu,
  ElSubmenu,
  ElMenuItemGroup,
  ElMenuItem,
  ElIcon,
} from 'element-plus';
const components = [
  ElButton,
  ElMenu,
  ElSubmenu,
  ElMenuItemGroup,
  ElMenuItem,
  ElRow,
  ElCol,
  ElIcon,
];
export default {
  install: (app: App) => {
    components.forEach(com => {
      app.component(com.name, com);
    });
  },
};
